﻿using System;

namespace ContainerVariations.Common
{
    public class Contact
    {
        public Name Name { get; set; }
        public Address Address { get; set; }
        public DateTime Birthdate { get; set; }
    }

    public class Name
    {
        public string LastNameFirst
        {
            get
            {
                return LastName + ", " + FirstName;
            }
        }

        public string FullName
        {
            get
            {
                return FirstName + " " + LastName;
            }
        }

        public string FirstName { get; set; }

        public string LastName { get; set; }
    }

    public class Address
    {
        public string Address1 { get; set; }

        public string Address2 { get; set; }

        public string City { get; set; }

        public string State { get; set; }

        public string Zip { get; set; }
    }
}